Remove Linux constraint from require_typed_memory - #539
Conversation
Removed contradictory Linux constraint from require_typed_memory config_setting as it is blocking score_communication from using this config_setting. Signed-off-by: devendrapat <76650287+devendrapat@users.noreply.github.com>
|
@hoppe-and-dreams please have a look |
|
Documentation preview for this pull request is available at: |
| name = "require_typed_memory", #This is a stub and should always be false | ||
| constraint_values = [ | ||
| "@platforms//os:qnx", | ||
| "@platforms//os:linux", # Contradicts qnx — ensures this config_setting never matches (stub) |
There was a problem hiding this comment.
If we do this, all S-CORE LoLa builds on QNX would go to typed memory. I do not think this is the intended (and aligned) consequence.
If it is indeed the desired outcome, at least the comment 3 lines above must be changed to match what the code does.
There was a problem hiding this comment.
Hello @hoppe-and-dreams,
Changes were made to use a bool_flag constraint to set require_typed_memory flag so that score_communication can depend on it without issues. Also the comment above was modified a bit to convey that the flag is not used anywhere in the repository, and the bool_flag is False by default.
98e8f72 to
f35d59d
Compare
f35d59d to
83bef30
Compare
Removed contradictory Linux constraint from require_typed_memory config_setting as it is blocking score_communication from using this config_setting, as this was blocking score_communication from using the config_setting in their code. In this PR, changes were made to use a bool_flag constraint to set require_typed_memory flag so that score_communication can depend on it without issues.
Please refer eclipse-score/communication#1022 for the error faced by score_communication while using require_typed_memory_config_setting.